home *** CD-ROM | disk | FTP | other *** search
- package koala.dynamicjava.tree;
-
- import java.util.List;
- import koala.dynamicjava.tree.visitor.Visitor;
-
- public class QualifiedName extends PrimaryExpression implements LeftHandSide {
- public static final String IDENTIFIERS = "identifiers";
- public static final String REPRESENTATION = "representation";
- private List identifiers;
- private String representation;
-
- public String getRepresentation() {
- return this.representation;
- }
-
- public List getIdentifiers() {
- return this.identifiers;
- }
-
- public void setIdentifier(List var1) {
- if (var1 == null) {
- throw new IllegalArgumentException("l == null");
- } else {
- ((Node)this).firePropertyChange("identifiers", this.identifiers, this.identifiers = var1);
- ((Node)this).firePropertyChange("representation", this.representation, this.representation = TreeUtilities.listToName(var1));
- }
- }
-
- public Object acceptVisitor(Visitor var1) {
- return var1.visit(this);
- }
-
- public QualifiedName(List var1) {
- this(var1, (String)null, 0, 0, 0, 0);
- }
-
- public QualifiedName(List var1, String var2, int var3, int var4, int var5, int var6) {
- super(var2, var3, var4, var5, var6);
- if (var1 == null) {
- throw new IllegalArgumentException("ids == null");
- } else {
- this.identifiers = var1;
- this.representation = TreeUtilities.listToName(var1);
- }
- }
- }
-